package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Answer;
import cn.wolfcode.trip.base.domain.SignIn;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ISignInService {

    /**
     * 保存签到数据
     * @param
     * @return
     */


    void save(SignIn signIn);
    //确认是否要签到
    SignIn confirm(SignIn signIn);

    Long getDay(Long userId);

    List<SignIn> listAll(Long userId);
    //查询某一用户签到的所有日期
    List<Long> listAllDate(Long userId);
}
